/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package backupit.core.io;

import backupit.core.Backup;
import backupit.core.BackupInfo;

/**
 *
 * @author dbotelho
 */
public abstract class BackupWriter implements Runnable {

    protected Backup backup;
    
    public BackupWriter(Backup backup){
        this.backup = backup;
    }
    
    public abstract BackupInfo getBackupInfo();
    
    public Backup getBackup() {
        return backup;
    }
    
    protected void setBackup(Backup backup) {
        this.backup = backup;
    }
    
    protected abstract void setBackupInfo(BackupInfo backupInfo);
}
